//
//  WBStatus.swift
//  Weibo
//
//  Created by kobe on 2016/12/24.
//  Copyright © 2016年 kobe. All rights reserved.
//

import UIKit
import YYModel

class WBStatus: NSObject {
    
    /// 用户id
    var id:Int64 = 0
    
    /// 微博内容
    var text:String?
    
    /// 创建时间
    var created_at:String?
    
    /// 来源
    var source:String?
    
    var reposts_count:Int = 0
    var comments_count:Int = 0
    var attitudes_count:Int = 0
    
    var user:WBUser?
    
    /// 被转发的原创对象
    var retweeted_status:WBStatus?
    
    var pic_urls:[WBStatusPicture]?
    
    override var description: String {
        return yy_modelDescription()
    }
    
    class func modelContainerPropertyGenericClass() -> [String:Any] {
        return ["pic_urls":WBStatusPicture.self]
    }
    
}
